package net.dgg.dggcloud.service.jrcrm.entity.cms;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName: MessageTemplate
 * @Description: 消息模版实体
 * @author duqian
 * @date 2017年11月06日11:30:00
 *
 */

@Entity
@Table(name = "cms_message_template")
public class MessageTemplate extends BaseEntity {

    /**
     *  模版编码
     */
    @Column(name="code")
    private String code;
    /**
     *  模版标题
     */
    @Column(name="title")
    private String title;
    /**
     *  模版内容
     */
    @Column(name="content")
    private String content;
    /**
     *  模版示例
     */
    @Column(name="example")
    private String example;
    /**
     * 推送方式 取字典
     */
    @Column(name="push_type")
    private String pushType;
    /**
     * 推送对象 取字典
     */
    @Column(name="push_object")
    private String pushObject;
    /**
     * 状态，0禁用，1启用
     */
    @Column(name="status")
    private Integer status;

    @Column(name="audio_type")
    private String audioType;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getExample() {
        return example;
    }

    public void setExample(String example) {
        this.example = example;
    }

    public String getPushType() {
        return pushType;
    }

    public void setPushType(String pushType) {
        this.pushType = pushType;
    }

    public String getPushObject() {
        return pushObject;
    }

    public void setPushObject(String pushObject) {
        this.pushObject = pushObject;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAudioType() {
        return audioType;
    }

    public void setAudioType(String audioType) {
        this.audioType = audioType;
    }
}
